package com.my.zl.console.service.autocode;

import com.my.zl.common.dto.ReqDTO;
import com.my.zl.common.dto.advancedQuery.PageQueryDTO;
import com.my.zl.console.entity.autocode.ZlTableSequence;
import com.my.zl.console.dto.autocode.tableSequence.ReqTableSequenceAddDTO;
import com.my.zl.console.dto.autocode.tableSequence.ReqTableSequenceDelDTO;
import com.my.zl.console.dto.autocode.tableSequence.ReqTableSequenceEditDTO;
import com.my.zl.console.dto.autocode.tableSequence.ReqTableSequenceQueryDTO;
import com.my.zl.console.dto.autocode.tableSequence.ReqTableSequenceDetailDTO;
import com.my.zl.console.dto.autocode.tableSequence.ReqTableSequenceStateDTO;
import com.my.zl.console.dto.autocode.tableSequence.ResTableSequenceAddDTO;
import com.my.zl.console.dto.autocode.tableSequence.ResTableSequenceDelDTO;
import com.my.zl.console.dto.autocode.tableSequence.ResTableSequenceEditDTO;
import com.my.zl.console.dto.autocode.tableSequence.ResTableSequenceQueryDTO;
import com.my.zl.console.dto.autocode.tableSequence.ResTableSequenceDetailDTO;
import com.my.zl.console.dto.autocode.tableSequence.ResTableSequenceStateDTO;

/**
 * 数据库表自增序号
 * @author ZL
 */
public interface ITableSequenceService {

    /**
     * 查询
     */
    ResTableSequenceQueryDTO queryTableSequenceList(ReqTableSequenceQueryDTO reqInfo,PageQueryDTO page) throws Exception;
    
    /**
     * 详情
     */
    ResTableSequenceDetailDTO queryTableSequenceDetail(ReqTableSequenceDetailDTO reqInfo) throws Exception;
    
    /**
     * 新增
     */
    ResTableSequenceAddDTO insertTableSequenceInfo(ReqDTO<ReqTableSequenceAddDTO> reqInfo) throws Exception;
    
    /**
     * 编辑
     */
    ResTableSequenceEditDTO updateTableSequenceInfo(ReqDTO<ReqTableSequenceEditDTO> reqInfo) throws Exception;
    
    /**
     * 删除
     */
    ResTableSequenceDelDTO deleteTableSequenceInfo(ReqDTO<ReqTableSequenceDelDTO> reqInfo) throws Exception;
    
    /**
     * 更新状态
     */
    ResTableSequenceStateDTO updateTableSequenceState(ReqDTO<ReqTableSequenceStateDTO> reqInfo) throws Exception;
    
    
}